﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class UserDAL
    {
        private readonly TestDbContext _testDbContext;
        public UserDAL(TestDbContext testDbContext)
        {
            _testDbContext = testDbContext;
        }
        public IEnumerable<User> GetUsers()
        {
            return _testDbContext.Users.ToList();
        }
    }
}
